<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>cors</title>
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
</head>
<body>
    <script>
        //Origin
        $.get('localhost:8080/CORS/cors.php',function (resp) {
            console.log(resp);
        })
    </script>
</body>
</html>